﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SignInUserControl.ascx.cs" Inherits="UserControl_Dangnhap2" %>
<style type="text/css">
    .style1
    {
        width: 100%;
    }
    .style2
    {
        height: 23px;
        width: 203px;
    }
    .style4
    {
        width: 120px;
    }
    .style5
    {
        width: 203px;
    }
    .style6
    {
        width: 196px;
    }
</style>

<table class="style1" style="width: 515px">
    <tr align="center">    
        <td colspan="3">
            <h1>Đăng nhập</h1>
        </td>
    </tr>
    <tr>
        <td style="text-align: right" class="style4">
            Tên đăng nhập:</td>
        <td class="style2">
            <asp:TextBox ID="txtUsername" runat="server" Width="200"></asp:TextBox>
        </td>
        <td class="style6">
            <asp:RequiredFieldValidator runat="server" ID="rfvUsername" ControlToValidate="txtUsername" ErrorMessage="Bạn chưa nhập tên đăng nhập"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td style="text-align: right" class="style4">
            Mật khẩu:</td>
        <td class="style5">
            <asp:TextBox ID="txtPassword" runat="server" Width="200" TextMode="Password"></asp:TextBox>
        </td>
        <td class="style6">
            <asp:RequiredFieldValidator runat="server" ID="rfvPassword" ControlToValidate="txtPassword" ErrorMessage="Bạn chưa nhập mật khẩu"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style4">
        </td>
        <td colspan="2">
            <asp:Button runat="server" ID="btnLogin" Text="Đăng nhập" 
                onclick="btnLogin_Click" />
        </td>
    </tr>
    <tr>
        <td style="text-align: right" class="style4">
            &nbsp;</td>
        <td class="style5" colspan="2">
            <a href="../WebContents/Register.aspx">Đăng ký</a>&nbsp;&nbsp;&nbsp;    
            <a href="../WebContents/ForgotPassword.aspx">Quên mật khẩu</a>    
        </td>
    </tr>
</table>

